package org.example.service;

import org.example.domain.LastArticle;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface LastArticleService {

    void addLastArticle(LastArticle lastArticle);//新增一篇往期推文

    LastArticle[] getLastArticleLimit(Integer start,Integer number);//获取第start行后的number行记录（防止全部查出过于缓慢）

}
